package com.car.loan.common.utils;

import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author huangding
 * @description
 * @date 2019/10/21 19:50
 */
@Data
public class BasePageParam {

    /**
     * 当前记录起始索引
     */
    @ApiModelProperty(value = "页数", required = true)
    @NotNull
    public int pageNum = 1;

    /**
     * 每页显示记录数
     */
    @ApiModelProperty(value = "行数", required = true)
    @NotNull
    public int pageSize = 10;
}
